package com.scm.biz.dto;

import java.util.Arrays;

import org.springframework.web.multipart.MultipartFile;

/**
 * 用于新增工厂时接收页面传入数据
 * @author 张乐锋
 *
 */
public class FactoryDto {
	
	//工厂Id
	private Long id;
	//工厂名称
	private String factoryName;
	//工厂所在省Id
	private Integer provinceId;
	//工厂所在市Id
	private Integer cityId;
	//工厂所在区或者县Id
	private Integer areaId;
	//联系方式
	private String contact;
	//联系人
	private String linkman;
	//工厂所在详细地址
	private String detailAddress;
	//工厂人数
	private String personAmount;
	//梳织类型（存的是常量表的Id）
	private Integer tattingStyleIds[];
	//针织类型（存的是常量表的Id）
	private Integer wovenStyleIds[];
	//毛衣类型（存的是常量表的Id）
	private Integer sweaterStyleIds[];
	//销往目的地
	private String saleTarget;
	//合作条件
	private String cooperationCondition;
	//是否评估（是与否）
	private String estimate;
	//评估报告文件
	private MultipartFile estimateReport;
	

	public FactoryDto() {
		
	}


	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public String getFactoryName() {
		return factoryName;
	}


	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}


	public Integer getProvinceId() {
		return provinceId;
	}


	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}


	public Integer getCityId() {
		return cityId;
	}


	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}


	public Integer getAreaId() {
		return areaId;
	}


	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}


	public String getContact() {
		return contact;
	}


	public void setContact(String contact) {
		this.contact = contact;
	}


	public String getLinkman() {
		return linkman;
	}


	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}


	public String getDetailAddress() {
		return detailAddress;
	}


	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}


	public String getPersonAmount() {
		return personAmount;
	}


	public void setPersonAmount(String personAmount) {
		this.personAmount = personAmount;
	}


	public Integer[] getTattingStyleIds() {
		return tattingStyleIds;
	}


	public void setTattingStyleIds(Integer[] tattingStyleIds) {
		this.tattingStyleIds = tattingStyleIds;
	}


	public Integer[] getWovenStyleIds() {
		return wovenStyleIds;
	}


	public void setWovenStyleIds(Integer[] wovenStyleIds) {
		this.wovenStyleIds = wovenStyleIds;
	}


	public Integer[] getSweaterStyleIds() {
		return sweaterStyleIds;
	}


	public void setSweaterStyleIds(Integer[] sweaterStyleIds) {
		this.sweaterStyleIds = sweaterStyleIds;
	}


	public String getSaleTarget() {
		return saleTarget;
	}


	public void setSaleTarget(String saleTarget) {
		this.saleTarget = saleTarget;
	}


	public String getCooperationCondition() {
		return cooperationCondition;
	}


	public void setCooperationCondition(String cooperationCondition) {
		this.cooperationCondition = cooperationCondition;
	}


	public String getEstimate() {
		return estimate;
	}


	public void setEstimate(String estimate) {
		this.estimate = estimate;
	}


	public MultipartFile getEstimateReport() {
		return estimateReport;
	}


	public void setEstimateReport(MultipartFile estimateReport) {
		this.estimateReport = estimateReport;
	}


	@Override
	public String toString() {
		return "FactoryDto [id=" + id + ", factoryName=" + factoryName + ", provinceId=" + provinceId + ", cityId="
				+ cityId + ", areaId=" + areaId + ", contact=" + contact + ", linkman=" + linkman + ", detailAddress="
				+ detailAddress + ", personAmount=" + personAmount + ", tattingStyleIds="
				+ Arrays.toString(tattingStyleIds) + ", wovenStyleIds=" + Arrays.toString(wovenStyleIds)
				+ ", sweaterStyleIds=" + Arrays.toString(sweaterStyleIds) + ", saleTarget=" + saleTarget
				+ ", cooperationCondition=" + cooperationCondition + ", estimate=" + estimate + ", estimateReport="
				+ estimateReport + "]";
	}

}
